<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>后台中心</title>

    <!-- Bootstrap core CSS -->
    <link href="/static/zwb/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="../../assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/static/zwb/bootstrap/css/dashboard.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="../../assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="container">
    <div class="col-md-12 bg-primary p20">
        <h1 class="glyphicon glyphicon-user">用户列表</h1>
        <hr>

    </div>

    <div class="row mt50">
        <div class="col-md-6">
            <table class="table table-hover bg-info">
                <tr>
                    <th>Tel</th>
                    <th>Status</th>
                    <th>Vip</th>
                    <th>Regtime</th>
                </tr>
                {volist name="list" id="v" mod="2" }
                {eq name="mod" value="0"}

                <tr>
                    <td>{$v['tel']}</td>
                    <td>{$v['status']}</td>
                    <td>{$v['vip']}</td>
                    <td>{$v['regtime']}</td>
                    <td>

                    <button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#myModal" data-id="{$v['uid']}>编辑</button>

                    </td>
                </tr>
                {/eq}
                {/volist}
            </table>
        </div>

    </div>
</div>


<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">用户信息</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">昵称</label>
                        <div class="col-sm-5">
                            <input type="email" class="form-control" id="inputEmail3" placeholder="昵称">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">年龄</label>
                        <div class="col-sm-5">
                            <input type="num" class="form-control" id="inputPassword3" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">性别</label>
                        <div class="col-sm-5">
                            <input type="num" class="form-control" id="inputPassword3" placeholder="">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary">保存</button>
            </div>
        </div>
    </div>
</div>



<!--加载JS-->
<script src="/static/zwb/bootstrap/js/jquery.min.js"></script>
<script src="/static/zwb/bootstrap/js/bootstrap.min.js"></script>



</body>
</html>